@media (min-width: 1045px) {
  /*=========  Containner  ========*/
  .container {
    width: 1080px;
  }
}
@media (max-width: 1045px) {
  .content .nav-tabs li a {
    padding: 6px 55px;
  }

  .header-container #search .form-group .form-control {
    width: 185px;
  }

  /*    #chart_div {        width: 581px !important;    }*/
  .nbs-flexisel-container .nbs-flexisel-ul li {
    margin-right: 0px;
    margin-left: 0px;
  }

  #social_media_tap .tab-content #social_facebook iframe {
    width: 97% !important;
  }
  #social_media_tap .nav-tabs li a {
    padding: 6px 22px;
  }

  #user_function li a {
    padding: 7px 71px;
  }

  .wrapper #ads_header {
    width: 100%;
    overflow: hidden;
  }
}
@media (max-width: 979px) {
  /*    #chart_div {        width: 480px !important;    }*/
  .nbs-flexisel-container .nbs-flexisel-ul li {
    margin-left: 2px;
    margin-right: 5px;
  }

  .wrapper .content .nav-tabs li a {
    padding: 6px 33px;
  }
  .wrapper .content .list-group .user-login .facebook-login {
    text-indent: -9999px;
  }
  .wrapper .content .list-group .user-login .facebook-login .facebook-icon {
    margin-left: 35px;
  }
  .wrapper .content .list-group .user-login .fb_iframe_widget span {
    width: 98px !important;
  }
  .wrapper .content .middle-column #form-fill {
    width: 415px;
  }

  #social_media_tap .tab-content #social_facebook iframe {
    width: 74% !important;
  }
  #social_media_tap .nav-tabs li a {
    padding: 6px 11px;
  }

  #user_function li a {
    padding: 7px 49px;
  }
}
@media (max-width: 800px) {
  /*    #chart_div {        width: 460px !important;    }*/
  .content .nav-tabs li a {
    padding: 6px 29px;
  }
  .content .middle-column #form-fill {
    width: 425px;
  }
  .content #user_function li a {
    margin-right: -1px;
  }

  #social_media_tap .nav-tabs li a:last-child {
    margin-right: -1px;
  }
  #social_media_tap .tab-content #social_facebook .fb_iframe_widget span {
    width: 585px !important;
  }
}
@media (max-width: 767px) {
  .header-container {
    z-index: 2;
  }
  .header-container #search {
    display: none;
  }
  .header-container #search .navbar-form {
    width: 100%;
  }
  .header-container #search .form-group .form-control, .header-container #search #category .form-control {
    width: 100%;
    max-width: 100%;
  }

  .wrapper {
    background: #f8f8f8;
  }
  .wrapper #ads_header {
    margin: 70px 0px 0;
  }
  .wrapper .header-container {
    position: fixed;
    top: 0;
    width: 100%;
  }
  .wrapper .header-container .header {
    height: 65px;
    min-height: 0;
  }
  .wrapper .header-container .header #top_header {
    padding-top: 0px;
  }
  .wrapper .header-container #stay_on_top {
    padding: 0;
  }
  .wrapper .header-container #stay_on_top .btn-group {
    position: absolute;
    width: auto;
    top: 16px;
    right: 70px;
  }
  .wrapper .header-container #stay_on_top .btn-group #search_button {
    float: right;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    behavior: url(PIE.htc);
  }
  .wrapper .header-container #stay_on_top .btn-group #search {
    background: #f8f8f8;
  }
  .wrapper .main-nav .navbar-header {
    position: absolute;
    top: 10px;
    right: 0;
  }
  .wrapper .main-nav .navbar-header .navbar-toggle {
    background: #325191;
    margin-top: 5px;
  }
  .wrapper .main-nav .navbar-header .navbar-toggle span {
    background: #f8f8f8;
  }
  .wrapper .main-nav .nav {
    margin: 0;
  }
  .wrapper .main-nav .nav li {
    padding: 0 15px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    behavior: url(PIE.htc);
    border: none;
  }
  .wrapper .content .middle-column {
    padding-left: 15px;
    padding-right: 15px;
  }
  .wrapper .content .nav-tabs li a {
    padding: 6px 48px;
  }
  .wrapper .left-column .header-side, .wrapper .right-column .header-side {
    margin-top: 20px;
  }
  .wrapper .nbs-flexisel-container .nbs-flexisel-ul li {
    margin-left: 0;
  }
  .wrapper .list-group .user-login .fb_iframe_widget span {
    width: 180px !important;
  }
  .wrapper #social_media_tap .nav-tabs li a:last-child {
    margin-right: 0px;
  }
  .wrapper .content .list-group .user-login .fb_iframe_widget span {
    width: 250px !important;
  }

  .threecolumn .col-sm-3 {
    width: 100%;
    *width: 100%;
  }
  .threecolumn .col-sm-6 {
    width: 100%;
    *width: 100%;
  }

  .header-container #search .form-group, .header-container #search #category, .header-container #search #location, .header-container #search #filter {
    margin-right: 0 !important;
  }
  .header-container #search #location select {
    margin-bottom: 5px;
  }

  #chart_div {
    float: none !important;
  }

  .content .ads-content .image-ads {
    width: 50%;
    margin: auto;
  }
}
@media (max-width: 600px) {
  .wrapper #logo a img {
    width: 230px;
  }
  .wrapper .header-container .header {
    height: 45px;
  }
  .wrapper .header-container #stay_on_top .btn-group {
    top: 5px;
  }
  .wrapper .main-nav .navbar-header {
    top: -1px;
  }
  .wrapper #ads_header {
    margin-top: 47px;
  }
  .wrapper .content .ads-content .image-ads {
    width: 100%;
  }
  .wrapper .content .tab-content .item #modified_date {
    float: left;
  }
  .wrapper #filter_box label {
    float: none;
    margin-bottom: 5px;
  }

  #social_media p.support {
    display: none;
  }

  #footer .container {
    margin-bottom: 0;
  }
  #footer #footer_bottom {
    position: relative;
  }
}
@media (max-width: 480px) {
  #logo a {
    width: 34px;
    margin: 9px 0 0 20px;
    height: 34px;
    background: url(../img/phsars.png) no-repeat 0 0;
    display: block;
  }
  #logo a img {
    display: none;
  }

  .wrapper #ads_header {
    margin-top: 51px;
  }
  .wrapper .header-container {
    background: #db2027;
    background: -webkit-linear-gradient(#db2027, #da333a, #cf2d34);
    background: -o-linear-gradient(#db2027, #da333a, #cf2d34);
    background: -moz-linear-gradient(#db2027, #da333a, #cf2d34);
    background: linear-gradient(#db2027, #da333a, #cf2d34);
  }
  .wrapper .header-container .header {
    width: 165px;
    z-index: 2;
    position: relative;
    height: 50px;
  }
  .wrapper .header-container #stay_on_top .navbar-header {
    z-index: 2;
  }
  .wrapper .header-container #stay_on_top .btn-group {
    right: 8px;
    top: 16px;
  }
  .wrapper .header-container #stay_on_top .btn-group #search_button {
    right: 65px;
    top: -8px;
    text-indent: -9999px;
    background: url(../img/sprit_images.png) no-repeat 4px -183px #325191;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
  }
  .wrapper .header-container #stay_on_top .btn-group #search_button .caret {
    display: none;
  }
  .wrapper .main-nav .navbar-header {
    top: 10px;
  }
  .wrapper .main-nav .navbar-header .navbar-toggle {
    margin-top: -2px;
  }
  .wrapper .content .middle-column #form-fill {
    width: 260px;
  }
  .wrapper #filter_box .form-control {
    width: 100%;
  }
  .wrapper #social_media_tap .nav-tabs li {
    width: 100%;
  }
  .wrapper #social_media_tap .nav-tabs li:first-child {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    behavior: url(PIE.htc);
  }
  .wrapper #social_media_tap .nav-tabs li:last-child {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    behavior: url(PIE.htc);
  }
  .wrapper #footer .container {
    margin: 0;
    padding: 5px 15px;
  }
  .wrapper #footer .footer-nav ul li {
    display: block;
    text-align: left;
    border: none;
    padding: 2px 0;
  }
  .wrapper #footer #footer_bottom {
    padding: 3px 15px;
  }
}
